#include "widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
{
    HLabel = new QLabel("主机名称：");
    hlHostName = new QLineEdit;

    ILabel = new QLabel("MAC地址：");
    hlHostAddress = new QLineEdit;

    DetailButton = new QPushButton("获取主机网络信息");

    mLayout = new QGridLayout(this);
    mLayout->addWidget(HLabel, 0, 0);
    mLayout->addWidget(hlHostName, 0, 1);

    mLayout->addWidget(ILabel, 1, 0);
    mLayout->addWidget(hlHostAddress, 1, 1);

    mLayout->addWidget(DetailButton, 2, 0, 1, 2);
}

Widget::~Widget()
{
}

void Widget::GetHostInformationFunc()
{

}

void Widget::SlotDtail()
{

}

